package com.yoda.mall.mysql.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yoda.mall.model.entity.sms.HomeRecommendProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shawn
 * @date 2022年 12月 17日 10:40
 */
public interface HomeRecommendProductMapper extends BaseMapper<HomeRecommendProduct> {
    void updateRecommendProductStatus(@Param("ids") List<Long> ids, @Param("recommendStatus") Integer recommendStatus);

    Integer saveBatch(List<HomeRecommendProduct> homeRecommendProducts);
}
